package com.chrray.position.domain.dto;

import com.chrray.position.enums.app.FdUserRoleEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;
import java.util.List;

/**
 * 意见反馈表 参数层对象
 *
 * @author wusiwee
 * @email wusiwee@163.com
 * @since 1.0.1 2024-08-07
 */
@Data
@ApiModel(description = "意见反馈表")
public class FdFeedbackDTO {



	@ApiModelProperty(value = "内容")
	@NotNull(message = "内容不能为空")
	@Size(max = 500, message = "内容最多500个字符")
	private String content;

    @ApiModelProperty(value = "用户角色:雇工-0,雇主-1")
    private Integer userRole;

	@ApiModelProperty(value = "照片")
	private List<String> photos;



}
